package com.spring.future.modules.sys.web;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * Created by admin on 2017/1/14.
 */
@Controller
public class LoginController {

    @RequestMapping({"/", "index"})
    public String index() {
        return "sys/index";
    }

    @RequestMapping(value = "/login", method = RequestMethod.GET)
    public String login() {
        return "sys/login";
    }


}
